package com.ms.mishitong.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ms.mishitong.dto.Result;
import com.ms.mishitong.entity.Blog;
import org.springframework.stereotype.Service;


/**
 * <p>
 *  服务类
 * </p>
 *

 */

public interface IBlogService extends IService<Blog> {

    Result queryBlogById(Long id);

    Result queryHotBlog(Integer current);

    Result likeBlog(Long id);

    Result saveBlog(Blog blog);

    Result queryBlogOfFollow(Long max, Integer offset);
}
